package com.biz.primus.ms.promotion.service.promotion;

import com.biz.primus.base.vo.PageVo;
import com.biz.primus.common.vo.SpringPageVO;
import com.biz.primus.model.promotion.vo.PurchaseGiftPromotionVo;

/**
 * 买赠满赠后台管理Service接口
 *
 * @author david-liu
 */
public interface PurchaseGiftPromotionManagementService {

    /**
     * 更新买赠满赠促销
     *
     * @param vo 买赠满赠促销Vo
     * @return Boolean
     */
    Boolean updatePurchaseGiftPromotion(PurchaseGiftPromotionVo vo);

    /**
     * 获取买赠满赠促销
     *
     * @param pageVo 分页Vo
     * @return 分页对象
     */
    SpringPageVO<PurchaseGiftPromotionVo> getPurchaseGiftPromotions(PageVo pageVo);

    /**
     * 获取买赠满赠促销
     *
     * @param promotionId 促销ID
     * @return 买赠满赠Vo
     */
    PurchaseGiftPromotionVo getPurchaseGiftPromotion(Long promotionId);

    /**
     * 切换买赠满赠状态
     *
     * @param promotionId 促销ID
     * @return Boolean
     */
    Boolean togglePurchaseGiftPromotionStatus(Long promotionId);

}
